package io.renren.modules.backstage.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("tb_finance")
@EqualsAndHashCode
public class FinanceEntity {

    @TableId(type = IdType.AUTO)
    @ExcelProperty("ID")
    private Integer finId;

    @ExcelProperty("标题内容")
    private String finname;

    @ExcelProperty("父类ID")
    private Integer parentId;

    @ExcelProperty("月份信息")
    private String months;

    @ExcelProperty("创建时间")
    private Data createTime;

    @ExcelProperty("修改时间")
    private Data updateTime;

}
